package com.freeLearning.boot.course.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.freeLearning.boot.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("course_chapters")
public class CourseChapters extends BaseEntity {
    @Schema(description = "课程ID")
    private Long courseId;

    @Schema(description = "章节标题")
    private String chapterName;

    @Schema(description = "章节序号")
    private Integer chapterOrder;

    @Schema(description = "章节描述")
    private String chapterDes;

    @Schema(description = "章节URL")
    private String chapterUrl;

    @Schema(description = "文件名称")
    private String fileName;
}
